﻿namespace WMS6.Web
{
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Web;
    using WMS6.Web.OutboundServiceRef;

    public class OutboundServiceClientProxy : BasePage
    {
        public string AutoAllocate(string orderID, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.AutoAllocate(orderID, updateBy, pubParasInfo);
            }
        }

        public string AutoPreAllocate(string orderID, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.AutoPreAllocate(orderID, updateBy, pubParasInfo);
            }
        }

        public string AutoRevertAllocate(string orderID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            string updatedBy = base.UserInfo.UserID;
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.AutoRevertAllocate(orderID, updatedBy, pubParasInfo);
            }
        }

        public string AutoRevertPreAllocate(string orderID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.AutoRevertPreAllocate(orderID, pubParasInfo.UserID, pubParasInfo);
            }
        }

        public string BatchAllocate(string orderID, List<string> orderLineIDs, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.BatchAllocate(orderID, orderLineIDs, updateBy, pubParasInfo);
            }
        }

        public string BatchClosed(List<string> waveID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.BatchClosed(waveID, pubParasInfo);
            }
        }

        public void BatchConfirmPicked(string waveID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                client.BatchConfirmPicked(waveID, pubParasInfo);
            }
        }

        public string BatchOrderActions(string batchOrderID, string batchOrderType)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.BatchOrderActions(batchOrderID, batchOrderType, pubParasInfo.UserID, pubParasInfo);
            }
        }

        public string BatchPreAllocate(string orderID, List<string> orderLineIDs, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.BatchPreAllocate(orderID, orderLineIDs, updateBy, pubParasInfo);
            }
        }

        public void BatchShipping(string waveID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                client.BatchShipping(waveID, pubParasInfo);
            }
        }

        public string CancelShipping(List<string> PickDetailID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.CancelShipping(PickDetailID, pubParasInfo);
            }
        }

        public string CancelShippingByOrderID(List<string> orderID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.CancelShippingByOrderID(orderID, pubParasInfo);
            }
        }

        public string CancelShippingByOrderIDOrderLineID(string orderID, List<string> LindID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.CancelShippingByOrderIDOrderLineID(orderID, LindID, pubParasInfo);
            }
        }

        public List<InvLotLocLpnInfo> CheckLocationQty4Allocation(ManualAllocateParams manualAllocateParams)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.CheckLocationQty4Allocation(manualAllocateParams, pubParasInfo);
            }
        }

        public string ClosedByOrderID(List<string> orderID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ClosedByOrderID(orderID, pubParasInfo);
            }
        }

        public string ConfirmPicked(List<string> pickDetailID, List<string> toLoc, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ConfirmPicked(pickDetailID, toLoc, updateBy, pubParasInfo);
            }
        }

        public string ConfirmShipped(List<string> pickDetailID, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ConfirmShipped(pickDetailID, updateBy, pubParasInfo);
            }
        }

        public string DeleteOrderSelectionInfos(List<string> orderSelectionID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.DeleteOrderSelectionInfos(orderSelectionID, pubParasInfo);
            }
        }

        public string DeleteShipmentContainer(List<string> ContainerID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.DeleteShipmentContainer(ContainerID, pubParasInfo);
            }
        }

        public string DeleteShippingOrderDetailByOrderIDsAndLineIDs(List<string> orderIDs, List<string> lineIDs)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.DeleteOrderDetail(orderIDs, lineIDs, pubParasInfo);
            }
        }

        public string DeleteShippingOrderInfo(List<string> ordersID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.DeleteOrdersInfos(ordersID, pubParasInfo);
            }
        }

        public string DeleteWave(List<string> WaveID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.DeleteWave(WaveID, pubParasInfo);
            }
        }

        public string DirectAllocation(string orderID, List<string> orderLineIDS)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.DirectAllocation(orderID, orderLineIDS, pubParasInfo);
            }
        }

        public string EncaseNesting(string strFromID, string strToID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.EncaseNesting(strFromID, strToID, pubParasInfo);
            }
        }

        public string ExecuteExploding(List<string> orderIDs, List<string> lineIDs)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ExecuteExploding(orderIDs, lineIDs, pubParasInfo);
            }
        }

        public DataSet GetAllIntransit()
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetAllIntransit(pubParasInfo);
            }
        }

        public DataSet GetAllOrdersInfo()
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return new DataSet();
            }
        }

        public static OutboundServiceClientProxy GetInstance()
        {
            return new OutboundServiceClientProxy();
        }

        public IntransitInfo GetIntransitInfoByID(string IntransitID, string srcDbID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetIntransitInfoByID(IntransitID, srcDbID, pubParasInfo);
            }
        }

        public DataSet GetIntransitInfoByQueryEntity(IntransitQueryEntity intransitQuery)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetIntransitByQueryEntity(intransitQuery, pubParasInfo);
            }
        }

        public string GetOrderIDsByWaveID(string waveID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrderIDsByWaveID(waveID, pubParasInfo);
            }
        }

        public DataSet GetOrdersByOrderSelection(OrderSelectionInfo OrderSelection)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrdersByOrderSelection(OrderSelection, pubParasInfo);
            }
        }

        public DataSet GetOrderSelectionAllInfo()
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrderSelectionAllInfo(pubParasInfo);
            }
        }

        public OrderSelectionInfo GetOrderSelectionByID(string OrderSelectionID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrderSelectionByID(OrderSelectionID, pubParasInfo);
            }
        }

        public DataSet GetOrderSelectionByQueryEntity(OrderSelectionQueryEntity OrderSelectionQuery)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrderSelectionByQueryEntity(OrderSelectionQuery, pubParasInfo);
            }
        }

        public OrdersInfo GetOrdersInfoAndDetailListByID(string OrderID, string ContainerID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrdersInfoAndDetailListByID(OrderID, ContainerID, pubParasInfo);
            }
        }

        public OrdersInfo GetOrdersInfoByOrderID(string orderID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrdersInfoByID(orderID, pubParasInfo);
            }
        }

        public DataSet GetOrdersInfoByQueryEntity(OrdersQueryEntity ordersQuery)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetOrdersByQueryEntity(ordersQuery, pubParasInfo);
            }
        }

        public DataSet GetPickDetailInfoByQueryEntity(PickDetailQueryEntity pickDetailQueryEntity)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetPickDetailInfoByQueryEntity(pickDetailQueryEntity, pubParasInfo);
            }
        }

        public ShipmentContainerInfo GetShipmentContainerByID(string ContainerID, string OrderID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetShipmentContainerByID(ContainerID, OrderID, pubParasInfo);
            }
        }

        public OrderDetailInfo GetShippingOrderDetailByID(string OrderID, string LineID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetShippingOrderDetailByID(OrderID, LineID, pubParasInfo);
            }
        }

        public WaveInfo GetWaveByID(string waveID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetWaveByID(waveID, pubParasInfo);
            }
        }

        public DataSet GetWaveByQueryList(WaveQueryEntity waveQuery)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.GetWaveByQueryList(waveQuery, pubParasInfo);
            }
        }

        private PubParasInfo InitPubParasInfo()
        {
            if (base.UserInfo != null)
            {
                return new PubParasInfo { UserID = base.UserInfo.UserID, UserLanguage = base.UserInfo.Preference.Lang, CurrentWH = base.UserInfo.CurrentWH };
            }
            HttpContext.Current.Response.Redirect("../Login.aspx?from=Logout", true);
            return null;
        }

        public string InsertOrderSelectionInfo(OrderSelectionInfo orderSelectionInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.InsertOrderSelectionInfo(orderSelectionInfo, pubParasInfo);
            }
        }

        public string InsertShipmentContainer(List<ShipmentContainerInfo> shipmentContainerInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.InsertShipmentContainer(shipmentContainerInfo, pubParasInfo);
            }
        }

        public string InsertShippingOrderDetailInfo(OrderDetailInfo orderDetailInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.InsertOrderDetailInfo(orderDetailInfo, pubParasInfo);
            }
        }

        public string InsertShippingOrderInfo(OrdersInfo ordersInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.InsertOrdersInfo(ordersInfo, pubParasInfo);
            }
        }

        public string InsertWave(WaveInfo waveInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.InsertWave(waveInfo, pubParasInfo);
            }
        }

        public string ManualAllocate(List<PickDetailInfo> pickDetailInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ManualAllocate(pickDetailInfo, pubParasInfo);
            }
        }

        public string ReleasePcTasks(List<string> RequestID, string updateby, string PcStatus)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ReleasePcTasks(RequestID, updateby, PcStatus, pubParasInfo);
            }
        }

        public string ReleasePickTasks(List<string> pickDetailID, string updateby)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ReleasePickTasks(pickDetailID, updateby, pubParasInfo);
            }
        }

        public string RevertAllocate(List<string> pickDetailIDs)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            string updatedBy = base.UserInfo.UserID;
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.RevertAllocate(pickDetailIDs, updatedBy, pubParasInfo);
            }
        }

        public string RevertPicked(List<string> pickDetailID, string updateBy)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.RevertPicked(pickDetailID, updateBy, pubParasInfo);
            }
        }

        public string RevertPickedAllocated(List<string> pickDetailID)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            string updatedBy = base.UserInfo.UserID;
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.RevertPickedAllocated(pickDetailID, pubParasInfo);
            }
        }

        public string RevertPreAllocate(string orderID, List<string> lineIDs)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.RevertPreAllocate(orderID, lineIDs, pubParasInfo.UserID, pubParasInfo);
            }
        }

        public string ScanShipmentContainer(List<ShipmentContainerInfo> shipmentContainerInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ScanShipmentContainer(shipmentContainerInfo, pubParasInfo);
            }
        }

        public string ShippedByOrderID(List<string> orderID, string shippDate)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            string updatedBy = base.UserInfo.UserID;
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ShippedByOrderID(orderID, shippDate, updatedBy, pubParasInfo);
            }
        }

        public string ShippedByOrderLineID(string orderID, string shippDate, List<string> orderLineIDs)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            string updatedBy = base.UserInfo.UserID;
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.ShippedByOrderLineID(orderID, orderLineIDs, shippDate, updatedBy, pubParasInfo);
            }
        }

        public string UpateActualShipDateByOrderID(string OrderID, string actualShipDate)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpateActualShipDateByOrderID(OrderID, actualShipDate, pubParasInfo);
            }
        }

        public string UpateActualShipDateByOrderIDLineID(string OrderID, List<string> LineID, string actualShipDate)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpateActualShipDateByOrderIDLineID(OrderID, LineID, actualShipDate, pubParasInfo);
            }
        }

        public string UpateActualShipDateByPickDetailID(List<string> pickDetailID, List<string> OrderID, List<string> LineID, string actualShipDate)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpateActualShipDateByPickDetailID(pickDetailID, OrderID, LineID, actualShipDate, pubParasInfo);
            }
        }

        public string UpdateOrderSelectionInfo(OrderSelectionInfo orderSelectionInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpdateOrderSelectionInfo(orderSelectionInfo, pubParasInfo);
            }
        }

        public string UpdateShipmentContainer(List<ShipmentContainerInfo> shipmentContainerInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpdateShipmentContainer(shipmentContainerInfo, pubParasInfo);
            }
        }

        public string UpdateShippingOrderDetailInfo(OrderDetailInfo orderDetailInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpdateOrderDetailInfo(orderDetailInfo, pubParasInfo);
            }
        }

        public string UpdateShippingOrderInfo(OrdersInfo ordersInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpdateOrdersInfo(ordersInfo, pubParasInfo);
            }
        }

        public string UpdateShippUDFByOrderID(List<OrderDetailInfo> orderDetailInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpdateShippUDFByOrderID(orderDetailInfo, pubParasInfo);
            }
        }

        public string UpdateWave(WaveInfo waveInfo)
        {
            PubParasInfo pubParasInfo = this.InitPubParasInfo();
            using (OutboundServiceClient client = new OutboundServiceClient("WSHttpBinding_IOutboundService"))
            {
                return client.UpdateWave(waveInfo, pubParasInfo);
            }
        }
    }
}

